//
//  NEDBaseCellItem.h
//  MoreCoin
//
//  Created by 林宁宁 on 2019/11/15.
//  Copyright © 2019 MoreCoin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NEDBaseObject.h"

NS_ASSUME_NONNULL_BEGIN


@interface NEDBaseCellItem : NEDBaseObject

@property (copy, nonatomic) NSString * title;
@property (copy, nonatomic) NSString * subTitle;
@property (copy, nonatomic) NSMutableAttributedString *attSubTitle;

@property (copy, nonatomic) NSString * content;
@property (retain, nonatomic) NSAttributedString * attributeContent;

@property (copy, nonatomic) NSString * imageName;
@property (retain, nonatomic) UIImage * imageShow;
@property (retain, nonatomic) id linkInfo;
@property (assign, nonatomic) NSInteger type;
@property (assign, nonatomic) BOOL isHidden;
@property (assign, nonatomic) BOOL needLogin;
@property (assign, nonatomic) BOOL isCanEdit;
/// 显示右边箭头
@property (assign, nonatomic) BOOL showAccessoryArrowView;
/// 圆角类型
@property (assign, nonatomic) UIRectCorner radiusCorner;

@property (assign, nonatomic) CGFloat cellHeight;
@property (assign, nonatomic) CGFloat cellWidth;

/// title 对齐
@property (assign, nonatomic) NSTextAlignment alignment;

/// cell点击
@property (copy, nonatomic) void(^clickBlock)(__kindof NEDBaseCellItem * passItem);

/// cell显示配置
@property (copy, nonatomic) void(^cellShowBlock)(__kindof UITableViewCell * cell,__kindof NEDBaseCellItem * passItem);
@property (copy, nonatomic) CGFloat(^cellHeightRowBlock)(__kindof NEDBaseCellItem * passItem);
/// 删除
@property (copy, nonatomic) void(^deleteBlock)(__kindof NEDBaseCellItem * passItem);
/// 关联的其他显示数组
@property (weak, nonatomic) NSArray * linkDataList;

@end

NS_ASSUME_NONNULL_END
